extends layout

block content
  .row.d-flex.flex-column.justify-content-center.align-items-center(style="height: 100vh")
    .col-12.col-md-6
      form.w-md-50(action="/register", method="post")
        .form-group.row
          h4.col-12.col-md-4(style="color: whitesmoke") 用户注册
        .form-group.row
          label.col-12.col-md-4(style="color: whitesmoke") 用户名
          input.col-12.col-md-8.form-control(type="text", name="username", placeholder="用户名最少为3位")
        .form-group.row
          label.col-12.col-md-4(style="color: whitesmoke") 密码
          input.col-12.col-md-8.form-control(type="password", name="password", placeholder="请输入密码")
        .row
          .col-12.offset-md-8.col-md-4
            button.btn.btn-primary.btn-block(type="submit") 注册
  script(src="/javascripts/register.js")